.dialog-h5 {
  height: 100%;
  top: 0;
  align-items: inherit;
}

.dialog-h5 .dialog-main {
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  min-height: 80px;
  min-width: 120px; 
}

.dialog-h5 .dialog-main-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  text-align: center; 
}

.dialog-h5 .dialog-main-content-uniapp {
  padding: 40px 0;
}

.dialog-h5 .dialog-main-footer {
  border-top: 1px solid #DDDDDD;
}

.dialog-h5 .dialog-main-footer .btn {
  flex: 1;
  margin: 0;
  background: none;
  border-right: 1px solid #DDDDDD;
}

.dialog-h5 .dialog-main-footer .btn-default {
  color: #FF584C;
  border: none;
}

.center {
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
